package com.nightpiter.view.graphics.impl.factories;

import android.graphics.Path;

import com.nightpiter.view.graphics.abstaractions.AbstractPath;
import com.nightpiter.view.graphics.factories.PathFactory;
import com.nightpiter.view.graphics.impl.AndroidPath;

public class AndroidPathFactory extends PathFactory {

	@Override
	public AbstractPath create() {
		return new AndroidPath(new Path());
	}

	@Override
	public AbstractPath create(com.nightpiter.view.graphics.Path path) {
		return new AndroidPath(new Path(AndroidPath.cast(path)));
	}

}
